package com.hjm.project.monitor.onlineLog;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName OnlineLog
 * @Deacription 在线日志
 * @Version 1.0
 **/
@Controller
@RequestMapping("/monitor/onlineLog")
public class OnlineLog {

    private String prefix = "monitor/onlineLog";


    /**
     * 前往日志控制台
     * @Param [tableName, modelMap]
     * @Return java.lang.String
     */
    @RequiresPermissions("monitor:onlineLog:log")
    @GetMapping("/log")
    public String log(ModelMap modelMap) {
        return prefix + "/log";
    }



}
